class TodoStore{
    @observable todos = [];
    @observable filter = '';

    /*@computed get filteredTodo() {
        let matchesFilter = new RegExp(this.filter, 'i')
        return this.todos.filter( todo => !this.filter || matchesFilter.test(todo.value) );
    }

    createTodo(v) {
        this.todos.push(new Todo(v));
    }*/
}

var store = window.store = new TodoStore();

export default store;